package com.bite.product.mapper;

import com.bite.product.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper {
    @Select("SELECT * FROM product_detail WHERE id = #{productId};")
    ProductInfo selectProductById(Integer productId);
}
